You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you open the dropdown menu, then click outside of the dropdown to close it, and rinse and repeat a few times - the event fires, even though nothing was selected.
This can be fixed by inserting this code after function() { :
In my own tests, it is easier to reproduce the bug if you hover over some of the options before clicking outside of the dropdown.
This can be fixed by inserting the same code, but changing #speed-menu to #area-menu.
I observed this bug on the latest version of jQuery (3.7.1) and the latest version of jQuery UI (1.14.1).
The text was updated successfully, but these errors were encountered:
dannybeckett
changed the title
The selectmenuselect event fires when it should not
The selectmenuselect event fires when nothing was selected
Nov 27, 2024
dannybeckett
changed the title
The selectmenuselect event fires when nothing was selected
The selectmenuselect event erroneously fires despite nothing being selected
Nov 27, 2024
dannybeckett
changed the title
The selectmenuselect event erroneously fires despite nothing being selected
The selectmenuselect event erroneously fires, despite not making a selection
Nov 27, 2024
Uh oh!
There was an error while loading. Please reload this page.
This is the same exact bug from 2017 which was filed at https://bugs.jqueryui.com/ticket/15115/#comment:1
The comment is more accurate than the OP's post.
The OP gives an example at http://jsbin.com/cubulifice/edit?html,js,console,output
If you open the dropdown menu, then click outside of the dropdown to close it, and rinse and repeat a few times - the event fires, even though nothing was selected.
This can be fixed by inserting this code after
function() {
:Similarly, here is my own example: https://jsfiddle.net/eucq05ok/
In my own tests, it is easier to reproduce the bug if you hover over some of the options before clicking outside of the dropdown.
This can be fixed by inserting the same code, but changing
#speed-menu
to#area-menu
.I observed this bug on the latest version of jQuery (3.7.1) and the latest version of jQuery UI (1.14.1).
The text was updated successfully, but these errors were encountered: